#ifndef _PICTURE_H_
#define _PICTURE_H_

#ifdef __cplusplus
extern "C" {
#endif

#ifdef __cplusplus
}
#endif

#include <thread>
#include <mutex>
#include "picture_gui.h"

class Picture
{
public:

private:
    std::thread *pthread;       //数据处理线程
    bool thread_exit_flag;      //指定线程退出标记

public:
    Picture(void (*exit_cb)(lv_event_t*),  std::mutex &uiMutex);
    ~Picture();

    const bool getExitFlag() const { return thread_exit_flag; }

};



#endif